class AppDelegate
  def application(application, didFinishLaunchingWithOptions:launchOptions)
    AFMotion::Client.build_shared("http://mark-uet.herokuapp.com") {
      header("Accept", "application/json")
      operation :json
    }

    MuApi.get_all_marks { |marks, err|
      unless err.nil?
        p err
      else
        p marks[0]
      end
    }

    true
  end
end
